package com.example.library.service;

import com.example.library.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sx
 * @since 2024-12-17
 */
public interface IUserService extends IService<User> {

    User Userlogin(String name, String password);

    User getCurrentUser();

    User updateProfile(User user);

    User findByName(String name);
}
